package com.eunion.core.common;

/**
 * ztree的例子.
 * 
 * @version 2016年9月27日 下午10:35:47
 */
public class ZtreeVo {

	private Long id;

	private Long pId;

	private String name;

	private String title;

	private Boolean open = true;

	public ZtreeVo() {
		super();
	}

	public ZtreeVo(Long id, Long pId, String name) {
		super();
		this.id = id;
		this.pId = pId;
		this.name = name;
		this.title = name;
	}

	public ZtreeVo(Long id, Long pId, String name, String title, Boolean open) {
		super();
		this.id = id;
		this.pId = pId;
		this.name = name;
		this.title = title;
		this.open = open;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getpId() {
		return pId;
	}

	public void setpId(Long pId) {
		this.pId = pId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Boolean getOpen() {
		return open;
	}

	public void setOpen(Boolean open) {
		this.open = open;
	}

}
